
export default {

  namespace: 'app',

  state: {
    selectedIndex: 0,
  },

  subscriptions: {
    setup({ dispatch, history }) {
    },
  },

  effects: {
    *fetchRemote({ payload }, { call, put }) {
    },
  },

  reducers: {
    navigationSelect(state, action) {
      const { selectedIndex } = action.payload;
      return { ...state, selectedIndex: selectedIndex };
    },
  },

}
